<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>并列选择器</title>
		<style>
			h1, h2, p, .box, .box3 a {
				color: red;
			}
		</style>
	</head>
	<body>
		<h1>标题1</h1>
		<h2>标题2</h2>
		<p>段落1</p>
		<div class="box">这是一个盒子</div>
		<div>这是另一个</div>
		<div class="box3">
			<a href="#">链接1</a>
			<a href="#">链接2</a>
			<a href="#">链接3</a>
		</div>
	</body>
</html>